package com.tos.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class TicketQuery {
    private String srcCity;
    private String dstCity;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date startTime;

    public TicketQuery() {
    }

    public TicketQuery(String srcCity, String dstCity, Date startTime, String cardId) {
        this.srcCity = srcCity;
        this.dstCity = dstCity;
        this.startTime = startTime;
        this.cardId = cardId;
    }

    public String getSrcCity() {
        return srcCity;
    }

    public void setSrcCity(String srcCity) {
        this.srcCity = srcCity;
    }

    public String getDstCity() {
        return dstCity;
    }

    public void setDstCity(String dstCity) {
        this.dstCity = dstCity;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    private String cardId;

}
